﻿@model IEnumerable<HierarchicalDto>
@{
    Layout = null;
}
<ul id="nav-s-ul">
    @*<li>
        <a href="/home/index" class="a_li">
            首页
            <small>HOME</small>
        </a>
    </li>*@
    @foreach (var item in Model)
    {
        // class="active"
        <li>
            <a href="@JsonHelper.GetString(item.path,"Target")" class="a_li">
                @item.text
                <small>@JsonHelper.GetString(item.path,"Title")</small>
            </a>
            @if (item.childs != null && item.childs.Count > 0)
            {
                <dl>
                    @foreach (var item1 in item.childs)
                    {
                        <a href="@JsonHelper.GetString(item1.path,"Target")" >@item1.text</a>
                    }
                </dl>
            }
        </li>
    }

    <li>
        <a href="/cms/companys/about" class="a_li">
            联系我们
            <small>CONTACT US</small>
        </a>
    </li>
</ul>
